//
//  MYDynamicDetailsGoodsCell.h
//  MuYing
//
//  Created by tbb on 2019/7/24.
//  Copyright © 2019 TBB. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "YQPInvitataionModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol MYDynamicDetailsGoodsCellDelegate <NSObject>

-(void)updateCollViewH:(CGFloat)h;

-(void)didSelectItemAtItem:(NSInteger)item;

@end

@interface MYDynamicDetailsGoodsCell : YQTableViewBaseCell
@property(nonatomic, weak) id <MYDynamicDetailsGoodsCellDelegate> delegate;
@property (nonatomic, assign) CGFloat collViewH;
@property (nonatomic, strong) UICollectionView * goodsCollView;
@property (nonatomic, strong) UICollectionViewFlowLayout * goodsLayout;

@property (strong, nonatomic) YQPSkuModel *model;

//@property (strong, nonatomic) NSMutableArray *goodArray;
@property (nonatomic, copy) NSArray * goodArray;

@end

NS_ASSUME_NONNULL_END
